package com.ymtms.arrivalofgoods.service;


import com.ymtms.arrivalofgoods.pojo.GoodsbillReceoptMain;

import java.util.Date;
import java.util.List;

public interface GoodsbillReceoptMainService {

    void addReceoptMain(String goodsBillCode);

    List<GoodsbillReceoptMain> findAllGoodsbillReceiptByCondition(Integer currentPage, Integer pageSize, GoodsbillReceoptMain goodsbillReceoptMain
            , Date arriveBegin, Date arriveEnd, String linkmanPhone);

    GoodsbillReceoptMain findOneReceiptById(Integer grmid);

    void modifyOneReceipt(GoodsbillReceoptMain goodsbillReceoptMain);

    //验收货物
    void acceptGoods(Integer grmid);

    List findAllUnsettledReceipt();
    GoodsbillReceoptMain findByBillcode(String billcode);

    void updateReceiptByBillcode(String billcode);

    void deleteReceiptByKeys(Integer[] keys);

    GoodsbillReceoptMain findReceiptMainByPkid(Integer gmid);

}
